package nps.test.ndk;

import android.content.Context;

public class nps_GameThread extends Thread {
	private boolean isRun;
	
	public nps_GameThread(Context context){
		isRun = true;
	}
	
	public synchronized void run(){
		while(isRun){
			try{
				NDK_ResoulutionActivity.m_GLView.requestRender();
				Thread.sleep(10);
			}
			catch (InterruptedException exception) {
				// TODO: handle exception
				exception.printStackTrace();
			}
		}
	}
}
